package com.LC.Service;

import com.LC.Entity.PageResult;
import com.LC.Entity.QueryPageBean;
import com.LC.Entity.Role;
import com.LC.Entity.User;

import java.util.List;

public interface UserService {
    public User findByUsername(String username);
    public PageResult getUserPage(QueryPageBean queryPageBean);
    public List<Role> getRoleList();
    public void AddUser(Integer[] RoleIds,  com.LC.Entity.User addUser);
    public User GetUserById(int id);
    public List<Integer> RoleNumByUId(int id);
    public void EditUser(Integer[] RoleIds,User UpdateUser);
    public void DeleteUserById(int id);
}
